package com.corejava.source;

import java.util.Date;
import java.util.HashMap;

public class CellBox {
	//
	private int order;
	//
	private String cellNum;
	//
	private String ratingVoltage;
	//
	private String workingVoltage;
	//
	private int ratedValue;
	//
	private int cellWeight;
	//
	private String cellProDate;
	//
	private String cellType;
	//
	private String cellVender;
	//
	private String cellModel;
	//
	private String enterTime;
	//
	private String powerStation;

	// private static HashMap<String, CellBox> cellMap;

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public String getCellNum() {
		return cellNum;
	}

	public void setCellNum(String cellNum) {
		this.cellNum = cellNum;
	}

	public String getRatingVoltage() {
		return ratingVoltage;
	}

	public void setRatingVoltage(String ratingVoltage) {
		this.ratingVoltage = ratingVoltage;
	}

	public String getWorkingVoltage() {
		return workingVoltage;
	}

	public void setWorkingVoltage(String workingVoltage) {
		this.workingVoltage = workingVoltage;
	}

	public int getRatedValue() {
		return ratedValue;
	}

	public void setRatedValue(int ratedValue) {
		this.ratedValue = ratedValue;
	}

	public int getCellWeight() {
		return cellWeight;
	}

	public void setCellWeight(int cellWeight) {
		this.cellWeight = cellWeight;
	}

	public String getCellProDate() {
		return cellProDate;
	}

	public void setCellProDate(String cellProDate) {
		this.cellProDate = cellProDate;
	}

	public String getCellType() {
		return cellType;
	}

	public void setCellType(String cellType) {
		this.cellType = cellType;
	}

	public String getCellVender() {
		return cellVender;
	}

	public void setCellVender(String cellVender) {
		this.cellVender = cellVender;
	}

	public String getCellModel() {
		return cellModel;
	}

	public void setCellModel(String cellModel) {
		this.cellModel = cellModel;
	}

	public String getEnterTime() {
		return enterTime;
	}

	public void setEnterTime(String enterTime) {
		this.enterTime = enterTime;
	}

	public String getPowerStation() {
		return powerStation;
	}

	public void setPowerStation(String powerStation) {
		this.powerStation = powerStation;
	}

	public CellBox(String cellNum, String ratingVoltage, String
	workingVoltage, int ratedValue, int cellWeight, String
	cellProDate, String cellType, String cellVender, String
	cellModel) {
		super();
		this.cellNum = cellNum;
		this.ratingVoltage = ratingVoltage;
		this.workingVoltage = workingVoltage;
		this.ratedValue = ratedValue;
		this.cellWeight = cellWeight;
		this.cellProDate = cellProDate;
		this.cellType = cellType;
		this.cellVender = cellVender;
		this.cellModel = cellModel;
	}

	public CellBox() {
		super();
	}

	public String cellInfoShow() {
		return "电池编号" + cellNum + "  额定电压为" + ratingVoltage + "  工作电压"
				+ workingVoltage + "  额定容量为" + ratedValue + "mAh  重量"
				+ cellWeight + "kg  出厂日期" + cellProDate + "  电池类型" + cellType
				+ "  生产厂家" + cellVender + "  型号" + cellModel;
	}

	public String toString() {
		return "电池编号" + cellNum + "  额定电压为" + ratingVoltage + "  工作电压"
				+ workingVoltage + "  额定容量为" + ratedValue + "mAh  重量"
				+ cellWeight + "kg  出厂日期" + cellProDate + "  电池类型" + cellType
				+ "  生产厂家" + cellVender + "  型号" + cellModel+"  录入时间"+enterTime+"  换电站为"+powerStation;
	}
}
